x86 vmx: Remove bogus BUG_ON() introduced in previous changeset.
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 13 Feb 2008 16:25:32 +0000 (16:25 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 13 Feb 2008 16:25:32 +0000 (16:25 +0000)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/hvm/vmx/vmcs.c

index 3fc6145be7ff88fefc48a33c30f3985e2c7c1bfc..cd0c844887f1e38396fb052244c6ff27bf71ea3a 100644 (file)
@@ -338,8 +338,6 @@ void vmx_vmcs_enter(struct vcpu *v)
     if ( likely(v == current) )
         return;
 
-    BUG_ON(vcpu_runnable(v));
-
     fv = &this_cpu(foreign_vmcs);
 
     if ( fv->v == v )
@@ -370,8 +368,6 @@ void vmx_vmcs_exit(struct vcpu *v)
     if ( likely(v == current) )
         return;
 
-    BUG_ON(vcpu_runnable(v));
-
     fv = &this_cpu(foreign_vmcs);
     BUG_ON(fv->v != v);
     BUG_ON(fv->count == 0);